absolute extrema calculus